package com.group3.hospital.service.impl;

import com.group3.hospital.bean.Doctor;
import com.group3.hospital.mapper.DpartAllDocsMapper;
import com.group3.hospital.service.DpartAllDocsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 秀秀
 */
@Service
public class DpartAllDocsServiceImpl implements DpartAllDocsService {
    @Resource
    private DpartAllDocsMapper dpartAllDocsMapper;

    @Override
    public List<Doctor> queryAllDocsBydepIdAndSub1() throws Exception {
        return dpartAllDocsMapper.queryAllDocsBydepIdAndSub1();
    }
}
